﻿﻿using System;
using System.Linq;

namespace PointStruct
{
    class TestPoints3DLoadAndSave
    {
        static void Main()
        {
            Path p = new Path();
            p.AddPoint(new Point3D(12, -12, 35));
            p.AddPoint(new Point3D(51, 23, 16));
            p.AddPoint(new Point3D(12, 34, 5));
            p.AddPoint(new Point3D(-15, 22, 3));
            p.AddPoint(new Point3D(-2, -110, 3));

            PathStorage.SavePath(p); 
            Path final = PathStorage.LoadPath();
            final.PrintPathList();
        }
    }
}